Optimal. Leaf size=258 \[ \frac{\left (\sqrt{c}+\sqrt{d} x\right ) \sqrt{\frac{c+d x^2}{\left (\sqrt{c}+\sqrt{d} x\right )^2}} \left (5 a d (2 b c-3 a d)+b^2 c^2\right ) \text{EllipticF}\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{d} \sqrt{e x}}{\sqrt [4]{c} \sqrt{e}}\right ),\frac{1}{2}\right )}{12 c^{13/4} d^{5/4} e^{5/2} \sqrt{c+d x^2}}-\frac{\sqrt{e x} \left (3 a^2 d^2-2 a b c d+b^2 c^2\right )}{3 c^2 d e^3 \left (c+d x^2\right )^{3/2}}-\frac{2 a^2}{3 c e (e x)^{3/2} \left (c+d x^2\right )^{3/2}}+\frac{\sqrt{e x} \left (5 a d (2 b c-3 a d)+b^2 c^2\right )}{6 c^3 d e^3 \sqrt{c+d x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.234409, antiderivative size = 258, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 28, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.179, Rules used = {462, 457, 290, 329, 220} \[ -\frac{\sqrt{e x} \left (3 a^2 d^2-2 a b c d+b^2 c^2\right )}{3 c^2 d e^3 \left (c+d x^2\right )^{3/2}}-\frac{2 a^2}{3 c e (e x)^{3/2} \left (c+d x^2\right )^{3/2}}+\frac{\left (\sqrt{c}+\sqrt{d} x\right ) \sqrt{\frac{c+d x^2}{\left (\sqrt{c}+\sqrt{d} x\right )^2}} \left (5 a d (2 b c-3 a d)+b^2 c^2\right ) F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{d} \sqrt{e x}}{\sqrt [4]{c} \sqrt{e}}\right )|\frac{1}{2}\right )}{12 c^{13/4} d^{5/4} e^{5/2} \sqrt{c+d x^2}}+\frac{\sqrt{e x} \left (5 a d (2 b c-3 a d)+b^2 c^2\right )}{6 c^3 d e^3 \sqrt{c+d x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 462
Rule 457
Rule 290
Rule 329
Rule 220
Rubi steps
\begin{align*} \int \frac{\left (a+b x^2\right )^2}{(e x)^{5/2} \left (c+d x^2\right )^{5/2}} \, dx &=-\frac{2 a^2}{3 c e (e x)^{3/2} \left (c+d x^2\right )^{3/2}}+\frac{2 \int \frac{\frac{3}{2} a (2 b c-3 a d)+\frac{3}{2} b^2 c x^2}{\sqrt{e x} \left (c+d x^2\right )^{5/2}} \, dx}{3 c e^2}\\ &=-\frac{2 a^2}{3 c e (e x)^{3/2} \left (c+d x^2\right )^{3/2}}-\frac{\left (b^2 c^2-2 a b c d+3 a^2 d^2\right ) \sqrt{e x}}{3 c^2 d e^3 \left (c+d x^2\right )^{3/2}}+\frac{\left (b^2 c^2+5 a d (2 b c-3 a d)\right ) \int \frac{1}{\sqrt{e x} \left (c+d x^2\right )^{3/2}} \, dx}{6 c^2 d e^2}\\ &=-\frac{2 a^2}{3 c e (e x)^{3/2} \left (c+d x^2\right )^{3/2}}-\frac{\left (b^2 c^2-2 a b c d+3 a^2 d^2\right ) \sqrt{e x}}{3 c^2 d e^3 \left (c+d x^2\right )^{3/2}}+\frac{\left (b^2 c^2+5 a d (2 b c-3 a d)\right ) \sqrt{e x}}{6 c^3 d e^3 \sqrt{c+d x^2}}+\frac{\left (b^2 c^2+5 a d (2 b c-3 a d)\right ) \int \frac{1}{\sqrt{e x} \sqrt{c+d x^2}} \, dx}{12 c^3 d e^2}\\ &=-\frac{2 a^2}{3 c e (e x)^{3/2} \left (c+d x^2\right )^{3/2}}-\frac{\left (b^2 c^2-2 a b c d+3 a^2 d^2\right ) \sqrt{e x}}{3 c^2 d e^3 \left (c+d x^2\right )^{3/2}}+\frac{\left (b^2 c^2+5 a d (2 b c-3 a d)\right ) \sqrt{e x}}{6 c^3 d e^3 \sqrt{c+d x^2}}+\frac{\left (b^2 c^2+5 a d (2 b c-3 a d)\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{c+\frac{d x^4}{e^2}}} \, dx,x,\sqrt{e x}\right )}{6 c^3 d e^3}\\ &=-\frac{2 a^2}{3 c e (e x)^{3/2} \left (c+d x^2\right )^{3/2}}-\frac{\left (b^2 c^2-2 a b c d+3 a^2 d^2\right ) \sqrt{e x}}{3 c^2 d e^3 \left (c+d x^2\right )^{3/2}}+\frac{\left (b^2 c^2+5 a d (2 b c-3 a d)\right ) \sqrt{e x}}{6 c^3 d e^3 \sqrt{c+d x^2}}+\frac{\left (b^2 c^2+5 a d (2 b c-3 a d)\right ) \left (\sqrt{c}+\sqrt{d} x\right ) \sqrt{\frac{c+d x^2}{\left (\sqrt{c}+\sqrt{d} x\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{d} \sqrt{e x}}{\sqrt [4]{c} \sqrt{e}}\right )|\frac{1}{2}\right )}{12 c^{13/4} d^{5/4} e^{5/2} \sqrt{c+d x^2}}\\ \end{align*}
Mathematica [C] time = 0.267107, size = 211, normalized size = 0.82 \[ \frac{x^{5/2} \left (\frac{a^2 (-d) \left (4 c^2+21 c d x^2+15 d^2 x^4\right )+2 a b c d x^2 \left (7 c+5 d x^2\right )+b^2 c^2 x^2 \left (d x^2-c\right )}{c^3 d x^{3/2} \left (c+d x^2\right )}+\frac{i x \sqrt{\frac{c}{d x^2}+1} \left (-15 a^2 d^2+10 a b c d+b^2 c^2\right ) \text{EllipticF}\left (i \sinh ^{-1}\left (\frac{\sqrt{\frac{i \sqrt{c}}{\sqrt{d}}}}{\sqrt{x}}\right ),-1\right )}{c^3 d \sqrt{\frac{i \sqrt{c}}{\sqrt{d}}}}\right )}{6 (e x)^{5/2} \sqrt{c+d x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.026, size = 686, normalized size = 2.7 \begin{align*} -{\frac{1}{12\,x{e}^{2}{c}^{3}{d}^{2}} \left ( 15\,\sqrt{-cd}\sqrt{{\frac{dx+\sqrt{-cd}}{\sqrt{-cd}}}}\sqrt{2}\sqrt{{\frac{-dx+\sqrt{-cd}}{\sqrt{-cd}}}}\sqrt{-{\frac{dx}{\sqrt{-cd}}}}{\it EllipticF} \left ( \sqrt{{\frac{dx+\sqrt{-cd}}{\sqrt{-cd}}}},1/2\,\sqrt{2} \right ){x}^{3}{a}^{2}{d}^{3}-10\,\sqrt{-cd}\sqrt{{\frac{dx+\sqrt{-cd}}{\sqrt{-cd}}}}\sqrt{2}\sqrt{{\frac{-dx+\sqrt{-cd}}{\sqrt{-cd}}}}\sqrt{-{\frac{dx}{\sqrt{-cd}}}}{\it EllipticF} \left ( \sqrt{{\frac{dx+\sqrt{-cd}}{\sqrt{-cd}}}},1/2\,\sqrt{2} \right ){x}^{3}abc{d}^{2}-\sqrt{-cd}\sqrt{{ \left ( dx+\sqrt{-cd} \right ){\frac{1}{\sqrt{-cd}}}}}\sqrt{2}\sqrt{{ \left ( -dx+\sqrt{-cd} \right ){\frac{1}{\sqrt{-cd}}}}}\sqrt{-{dx{\frac{1}{\sqrt{-cd}}}}}{\it EllipticF} \left ( \sqrt{{ \left ( dx+\sqrt{-cd} \right ){\frac{1}{\sqrt{-cd}}}}},{\frac{\sqrt{2}}{2}} \right ){x}^{3}{b}^{2}{c}^{2}d+15\,\sqrt{{\frac{dx+\sqrt{-cd}}{\sqrt{-cd}}}}\sqrt{2}\sqrt{{\frac{-dx+\sqrt{-cd}}{\sqrt{-cd}}}}\sqrt{-{\frac{dx}{\sqrt{-cd}}}}{\it EllipticF} \left ( \sqrt{{\frac{dx+\sqrt{-cd}}{\sqrt{-cd}}}},1/2\,\sqrt{2} \right ) \sqrt{-cd}x{a}^{2}c{d}^{2}-10\,\sqrt{{\frac{dx+\sqrt{-cd}}{\sqrt{-cd}}}}\sqrt{2}\sqrt{{\frac{-dx+\sqrt{-cd}}{\sqrt{-cd}}}}\sqrt{-{\frac{dx}{\sqrt{-cd}}}}{\it EllipticF} \left ( \sqrt{{\frac{dx+\sqrt{-cd}}{\sqrt{-cd}}}},1/2\,\sqrt{2} \right ) \sqrt{-cd}xab{c}^{2}d-\sqrt{{ \left ( dx+\sqrt{-cd} \right ){\frac{1}{\sqrt{-cd}}}}}\sqrt{2}\sqrt{{ \left ( -dx+\sqrt{-cd} \right ){\frac{1}{\sqrt{-cd}}}}}\sqrt{-{dx{\frac{1}{\sqrt{-cd}}}}}{\it EllipticF} \left ( \sqrt{{ \left ( dx+\sqrt{-cd} \right ){\frac{1}{\sqrt{-cd}}}}},{\frac{\sqrt{2}}{2}} \right ) \sqrt{-cd}x{b}^{2}{c}^{3}+30\,{x}^{4}{a}^{2}{d}^{4}-20\,{x}^{4}abc{d}^{3}-2\,{x}^{4}{b}^{2}{c}^{2}{d}^{2}+42\,{x}^{2}{a}^{2}c{d}^{3}-28\,{x}^{2}ab{c}^{2}{d}^{2}+2\,{x}^{2}{b}^{2}{c}^{3}d+8\,{a}^{2}{c}^{2}{d}^{2} \right ){\frac{1}{\sqrt{ex}}} \left ( d{x}^{2}+c \right ) ^{-{\frac{3}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b x^{2} + a\right )}^{2}}{{\left (d x^{2} + c\right )}^{\frac{5}{2}} \left (e x\right )^{\frac{5}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (b^{2} x^{4} + 2 \, a b x^{2} + a^{2}\right )} \sqrt{d x^{2} + c} \sqrt{e x}}{d^{3} e^{3} x^{9} + 3 \, c d^{2} e^{3} x^{7} + 3 \, c^{2} d e^{3} x^{5} + c^{3} e^{3} x^{3}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b x^{2} + a\right )}^{2}}{{\left (d x^{2} + c\right )}^{\frac{5}{2}} \left (e x\right )^{\frac{5}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]